<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Library Evolutionary Algorithms for Clustering (LEAC): include/probability_selection.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="leac_logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Library Evolutionary Algorithms for Clustering (LEAC)
   &#160;<span id="projectnumber">Version 1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">probability_selection.hpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>probability selection  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;unordered_set&gt;</code><br />
<code>#include &lt;utility&gt;</code><br />
<code>#include &lt;algorithm&gt;</code><br />
<code>#include &quot;<a class="el" href="random__ext_8hpp_source.html">random_ext.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="ga__selection_8hpp_source.html">ga_selection.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="verbose__global_8hpp_source.html">verbose_global.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="insertion__operator_8hpp_source.html">insertion_operator.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for probability_selection.hpp:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="probability__selection_8hpp__incl.svg" width="100%" height="507"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="probability__selection_8hpp__dep__incl.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</div>
<p><a href="probability__selection_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceprob"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprob.html">prob</a></td></tr>
<tr class="memdesc:namespaceprob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Method for calculate probability distributions. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a9c4a6edf88cebc3b48d1cdf7d2f23e6e"><td class="memTemplParams" colspan="2">template&lt;typename T_PROBABILITY &gt; </td></tr>
<tr class="memitem:a9c4a6edf88cebc3b48d1cdf7d2f23e6e"><td class="memTemplItemLeft" align="right" valign="top">std::pair&lt; <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a>, <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a> &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceprob.html#a9c4a6edf88cebc3b48d1cdf7d2f23e6e">prob::getIdxPairUnlikeRoulette</a> (const std::vector&lt; T_PROBABILITY &gt; &amp;aivectorrt_probDist, <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a> aiuintidx_begins)</td></tr>
<tr class="memdesc:a9c4a6edf88cebc3b48d1cdf7d2f23e6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selection a pair random index in [IdxBegin,n].  <a href="namespaceprob.html#a9c4a6edf88cebc3b48d1cdf7d2f23e6e">More...</a><br /></td></tr>
<tr class="separator:a9c4a6edf88cebc3b48d1cdf7d2f23e6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb45371263f36abbfdf479f7b0ccf4bb"><td class="memTemplParams" colspan="2">template&lt;typename T_PROBABILITY , typename FUNCTION_RAND &gt; </td></tr>
<tr class="memitem:acb45371263f36abbfdf479f7b0ccf4bb"><td class="memTemplItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a> &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceprob.html#acb45371263f36abbfdf479f7b0ccf4bb">prob::getIdxVectorRoulette</a> (const std::vector&lt; T_PROBABILITY &gt; &amp;aivectort_probDist, const bool aib_withRepeatedValues, const <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a> aiuintidx_numbersToGenerate, const <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a> aiuintidx_begins, FUNCTION_RAND function_rand01)</td></tr>
<tr class="memdesc:acb45371263f36abbfdf479f7b0ccf4bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selection a vector of random index in [IdxBegin,n].  <a href="namespaceprob.html#acb45371263f36abbfdf479f7b0ccf4bb">More...</a><br /></td></tr>
<tr class="separator:acb45371263f36abbfdf479f7b0ccf4bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65b0579bfb13bf332dfbaadb9e5fe2d2"><td class="memTemplParams" colspan="2">template&lt;typename FUNCTION &gt; </td></tr>
<tr class="memitem:a65b0579bfb13bf332dfbaadb9e5fe2d2"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceprob.html#a65b0579bfb13bf332dfbaadb9e5fe2d2">prob::getRandPairUnlike</a> (FUNCTION function_generate) -&gt; std::pair&lt; decltype(function_generate()), decltype(function_generate())&gt;</td></tr>
<tr class="memdesc:a65b0579bfb13bf332dfbaadb9e5fe2d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get two random number diferent.  <a href="namespaceprob.html#a65b0579bfb13bf332dfbaadb9e5fe2d2">More...</a><br /></td></tr>
<tr class="separator:a65b0579bfb13bf332dfbaadb9e5fe2d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a736bde3100258c3c2d13ebfe2b6746f8"><td class="memTemplParams" colspan="2">template&lt;typename FUNCTION &gt; </td></tr>
<tr class="memitem:a736bde3100258c3c2d13ebfe2b6746f8"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceprob.html#a736bde3100258c3c2d13ebfe2b6746f8">prob::getRandPairUnlikeInOrd</a> (FUNCTION function_generate) -&gt; std::pair&lt; decltype(function_generate()), decltype(function_generate())&gt;</td></tr>
<tr class="memdesc:a736bde3100258c3c2d13ebfe2b6746f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get two random number diferent in order.  <a href="namespaceprob.html#a736bde3100258c3c2d13ebfe2b6746f8">More...</a><br /></td></tr>
<tr class="separator:a736bde3100258c3c2d13ebfe2b6746f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15090755bafc59aa295f2d02be64af8c"><td class="memTemplParams" colspan="2">template&lt;typename FUNCTION &gt; </td></tr>
<tr class="memitem:a15090755bafc59aa295f2d02be64af8c"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceprob.html#a15090755bafc59aa295f2d02be64af8c">prob::getWithoutRepeatsSet</a> (const <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a> aiuintidx_numbersToGenerate, FUNCTION function_generate) -&gt; std::unordered_set&lt; decltype(function_generate())&gt;</td></tr>
<tr class="memdesc:a15090755bafc59aa295f2d02be64af8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a set of random number diferent.  <a href="namespaceprob.html#a15090755bafc59aa295f2d02be64af8c">More...</a><br /></td></tr>
<tr class="separator:a15090755bafc59aa295f2d02be64af8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abffb9a5b780336aceaf8eb78387dcd0c"><td class="memTemplParams" colspan="2">template&lt;typename T_RAND , typename FUNCTION &gt; </td></tr>
<tr class="memitem:abffb9a5b780336aceaf8eb78387dcd0c"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceprob.html#abffb9a5b780336aceaf8eb78387dcd0c">prob::getRandUnlike</a> (const T_RAND at_unlike, FUNCTION function_generate) -&gt; decltype(function_generate())</td></tr>
<tr class="memdesc:abffb9a5b780336aceaf8eb78387dcd0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">A random different than a given at_unlike.  <a href="namespaceprob.html#abffb9a5b780336aceaf8eb78387dcd0c">More...</a><br /></td></tr>
<tr class="separator:abffb9a5b780336aceaf8eb78387dcd0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fd4fb1dca3ca869c8cbb930c031a837"><td class="memTemplParams" colspan="2">template&lt;typename T_RAND , typename FUNCTION &gt; </td></tr>
<tr class="memitem:a7fd4fb1dca3ca869c8cbb930c031a837"><td class="memTemplItemLeft" align="right" valign="top">T_RAND&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceprob.html#a7fd4fb1dca3ca869c8cbb930c031a837">prob::getRandSetUnlike</a> (const std::unordered_set&lt; T_RAND &gt; &amp;aiunorderedset_rand, FUNCTION function_generate)</td></tr>
<tr class="memdesc:a7fd4fb1dca3ca869c8cbb930c031a837"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selection a random un like to set items.  <a href="namespaceprob.html#a7fd4fb1dca3ca869c8cbb930c031a837">More...</a><br /></td></tr>
<tr class="separator:a7fd4fb1dca3ca869c8cbb930c031a837"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d7baf9636f685ea992784431fca725c"><td class="memItemLeft" align="right" valign="top">std::pair&lt; <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a>, <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprob.html#a5d7baf9636f685ea992784431fca725c">prob::getElitistPairCross</a> (std::vector&lt; <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a> &gt; *aoptvectoruintidx_chromPairsCross, <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a> aiuintidx_idxChromTMinIdxSelect, <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a> aiuintidx_idxChromTMaxIdxSelect)</td></tr>
<tr class="memdesc:a5d7baf9636f685ea992784431fca725c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selection a pair random index.  <a href="namespaceprob.html#a5d7baf9636f685ea992784431fca725c">More...</a><br /></td></tr>
<tr class="separator:a5d7baf9636f685ea992784431fca725c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:acee5944d570f2fb7efdf1d4c801b30fb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="random__ext_8hpp.html#a096d42d6e488c0b0de08cd7c24ec0099">StdMT19937</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="probability__selection_8hpp.html#acee5944d570f2fb7efdf1d4c801b30fb">gmt19937_eng</a></td></tr>
<tr class="separator:acee5944d570f2fb7efdf1d4c801b30fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>probability selection </p>
<p>This file is part of the LEAC.<br />
<br />
</p><dl class="section version"><dt>Version</dt><dd>1.0 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2015-2017 </dd></dl>
<dl class="section author"><dt>Authors</dt><dd>Hermes Robles-Berumen <a href="#" onclick="location.href='mai'+'lto:'+'her'+'me'+'s@u'+'az'+'.ed'+'u.'+'mx'; return false;">herme<span style="display: none;">.nosp@m.</span>s@ua<span style="display: none;">.nosp@m.</span>z.edu<span style="display: none;">.nosp@m.</span>.mx</a><br />
 Sebastian Ventura <a href="#" onclick="location.href='mai'+'lto:'+'sve'+'nt'+'ura'+'@u'+'co.'+'es'; return false;">svent<span style="display: none;">.nosp@m.</span>ura@<span style="display: none;">.nosp@m.</span>uco.e<span style="display: none;">.nosp@m.</span>s</a><br />
 Amelia Zafra <a href="#" onclick="location.href='mai'+'lto:'+'aza'+'fr'+'a@u'+'co'+'.es'; return false;">azafr<span style="display: none;">.nosp@m.</span>a@uc<span style="display: none;">.nosp@m.</span>o.es</a><br />
 <a href="http://www.uco.es/kdis/">KDIS</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd><a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GPLv3</a> license </dd></dl>

<p class="definition">Definition in file <a class="el" href="probability__selection_8hpp_source.html">probability_selection.hpp</a>.</p>
</div><h2 class="groupheader">Variable Documentation</h2>
<a id="acee5944d570f2fb7efdf1d4c801b30fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acee5944d570f2fb7efdf1d4c801b30fb">&#9670;&nbsp;</a></span>gmt19937_eng</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="random__ext_8hpp.html#a096d42d6e488c0b0de08cd7c24ec0099">StdMT19937</a> gmt19937_eng</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="random__ext_8hpp_source.html#l00063">63</a> of file <a class="el" href="random__ext_8hpp_source.html">random_ext.hpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="random__ext_8hpp_source.html#l00077">randomext::setSeed()</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 19 2019 08:58:33 for Library Evolutionary Algorithms for Clustering (LEAC) by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
